import 'package:hi_net/model/profile_mo.dart';
import 'package:hi_net/model/ranking_mo.dart';
import 'package:hi_net/model/video_model.dart';

import 'barrage_model.dart';
import 'home_mo.dart';

List<BannerMo> getBanners() => [
      BannerMo(
          "123",
          1,
          "video",
          "retrgdfg",
          "sfddsfgdgfdg",
          "https://life911.cn/wp-content/uploads/2023/06/074732o7drk2dc8etofdcc.jpg",
          "https://life911.cn/wp-content/uploads/2023/06/074732o7drk2dc8etofdcc.jpg"),
      BannerMo(
          "123",
          2,
          "video",
          "retrgdfg",
          "sfddsfgdgfdg",
          "https://life911.cn/wp-content/uploads/2023/06/%E7%81%AB%E7%81%B5%E5%84%BF108342666_p5_master1200.jpg",
          "https://life911.cn/wp-content/uploads/2023/06/%E7%81%AB%E7%81%B5%E5%84%BF108342666_p5_master1200.jpg"),
      BannerMo(
          "123",
          3,
          "video",
          "retrgdfg",
          "sfddsfgdgfdg",
          "http://life911.cn/wp-content/uploads/2023/06/105545qsxoxma3xa77b7pz.jpg",
          "http://life911.cn/wp-content/uploads/2023/06/105545qsxoxma3xa77b7pz.jpg"),
    ];

List<VideoModel> getVideos() => [
      VideoModel(
          vid: "123",
          title: "本章将手把手带你搭建首页模块，掌握主流APP首页的疑难点问题的解决方案，解锁Flutter图片加载与缓存原理、列加载优化等高阶技能。",
          cover: "https://life911.cn/wp-content/uploads/2023/06/108057137_p2_master1200.jpg",
          view: 999666,
          favorite: 45454,
          duration: 213213,
          createTime: "2024-11-11",
          owner: Owner(
              "https://life911.cn/wp-content/uploads/2023/06/%E5%85%AC%E5%AD%99%E7%A6%BB108551385_p2_master1200.jpg",
              "jin",
              8)),
      VideoModel(
          vid: "123",
          title: "本章将手把手带你搭",
          cover: "https://life911.cn/wp-content/uploads/2023/06/108057137_p2_master1200.jpg",
          view: 111666,
          favorite: 458888,
          duration: 6666,
          createTime: "2024-11-11",
          owner: Owner(
              "https://life911.cn/wp-content/uploads/2023/06/%E5%85%AC%E5%AD%99%E7%A6%BB108551385_p2_master1200.jpg",
              "sziitjin",
              8)),
      VideoModel(
          vid: "123",
          title: "本章将手把手带你搭建首页模块，掌握主流APP首页的疑难点问题的解决方案，",
          cover: "https://life911.cn/wp-content/uploads/2023/07/640.jpg",
          view: 9666,
          favorite: 5555,
          duration: 234,
          createTime: "2024-11-11",
          owner: Owner(
              "https://life911.cn/wp-content/uploads/2023/06/%E5%85%AC%E5%AD%99%E7%A6%BB108551385_p2_master1200.jpg",
              "sziitjin",
              8)),
      VideoModel(
          vid: "123",
          title: "本章将手把手带你搭建首页模块，掌握主流APP首页的疑难点问题的解决方案，解锁Flutter图片加载与缓存原理、",
          cover: "https://life911.cn/wp-content/uploads/2023/06/%E5%85%AC%E5%AD%99%E7%A6%BB108551385_p2_master1200.jpg",
          view: 67766,
          favorite: 45454,
          duration: 213213,
          createTime: "2024-11-11",
          owner: Owner(
              "https://life911.cn/wp-content/uploads/2023/06/%E5%85%AC%E5%AD%99%E7%A6%BB108551385_p2_master1200.jpg",
              "sziitjin",
              8)),
      VideoModel(
          vid: "123",
          title: "本章将手把手带你搭建首页模块，掌握主流APP首页的疑难点问题的解决方案，解锁Flutter图片加载与缓存原理、列加载优化等高阶技能。",
          cover: "https://life911.cn/wp-content/uploads/2023/06/074732o7drk2dc8etofdcc.jpg",
          view: 89808,
          favorite: 6789,
          duration: 1245,
          createTime: "2024-11-11",
          owner: Owner(
              "https://life911.cn/wp-content/uploads/2023/06/%E5%85%AC%E5%AD%99%E7%A6%BB108551385_p2_master1200.jpg",
              "sziitjin",
              8)),
      VideoModel(
          vid: "123",
          title: "本章将手把手带你搭建首页模块，掌握主流APP首页的疑难点问题的解决方案，解锁Flutter图片加载与缓存原理、列加载优化等高阶技能。",
          cover: "https://life911.cn/wp-content/uploads/2023/06/%E7%81%AB%E7%81%B5%E5%84%BF108342666_p5_master1200.jpg",
          view: 999666,
          favorite: 45454,
          duration: 213213,
          createTime: "2024-11-11",
          owner: Owner(
              "https://life911.cn/wp-content/uploads/2023/06/%E5%85%AC%E5%AD%99%E7%A6%BB108551385_p2_master1200.jpg",
              "sziitjin",
              8)),
      VideoModel(
          vid: "123",
          title: "本章将手把手带你搭建首页模块，掌握主流APP首页的疑难点问题的解决方案，解锁Flutter图片加载与缓存原理、列加载优化等高阶技能。",
          cover: "https://life911.cn/wp-content/uploads/2023/07/640-3.jpg",
          view: 999666,
          favorite: 45454,
          duration: 213213,
          createTime: "2024-11-11",
          owner: Owner(
              "https://life911.cn/wp-content/uploads/2023/06/%E5%85%AC%E5%AD%99%E7%A6%BB108551385_p2_master1200.jpg",
              "sziitjin",
              8)),
      VideoModel(
          vid: "123",
          title: "本章将手把手带你搭建首页模块，掌握主流APP首页的疑难点问题的解决方案，解锁Flutter图片加载与缓存原理、列加载优化等高阶技能。",
          cover: "https://life911.cn/wp-content/uploads/2023/06/105545qsxoxma3xa77b7pz.jpg",
          view: 999666,
          favorite: 45454,
          duration: 213213,
          createTime: "2024-11-11",
          owner: Owner(
              "https://life911.cn/wp-content/uploads/2023/06/%E5%85%AC%E5%AD%99%E7%A6%BB108551385_p2_master1200.jpg",
              "sziitjin",
              8)),
      VideoModel(
          vid: "123",
          title: "本章将手把手带你搭建首页模块，掌握主流APP首页的疑难点问题的解决方案，解锁Flutter图片加载与缓存原理、列加载优化等高阶技能。",
          cover: "https://life911.cn/wp-content/uploads/2023/06/108572928_p5_master1200-1.jpg",
          view: 999666,
          favorite: 45454,
          duration: 213213,
          createTime: "2024-11-11",
          owner: Owner(
              "https://life911.cn/wp-content/uploads/2023/06/%E5%85%AC%E5%AD%99%E7%A6%BB108551385_p2_master1200.jpg",
              "sziitjin",
              8)),
      VideoModel(
          vid: "123",
          title: "本章将手把手带你搭建首页模块，掌握主流APP首页的疑难点问题的解决方案，解锁Flutter图片加载与缓存原理、列加载优化等高阶技能。",
          cover: "https://life911.cn/wp-content/uploads/2023/06/105545qsxoxma3xa77b7pz.jpg",
          view: 999666,
          favorite: 45454,
          duration: 213213,
          createTime: "2024-11-11",
          owner: Owner(
              "https://life911.cn/wp-content/uploads/2023/06/%E5%85%AC%E5%AD%99%E7%A6%BB108551385_p2_master1200.jpg",
              "sziitjin",
              8)),
      VideoModel(
          vid: "123",
          title: "本章将手把手带你搭建首页模块，掌握主流APP首页的疑难点问题的解决方案，解锁Flutter图片加载与缓存原理、列加载优化等高阶技能。",
          cover: "https://life911.cn/wp-content/uploads/2023/06/105545qsxoxma3xa77b7pz.jpg",
          view: 999666,
          favorite: 45454,
          duration: 213213,
          createTime: "2024-11-11",
          owner: Owner(
              "https://life911.cn/wp-content/uploads/2023/06/%E5%85%AC%E5%AD%99%E7%A6%BB108551385_p2_master1200.jpg",
              "sziitjin",
              8)),
      VideoModel(
          vid: "123",
          title: "本章将手把手带你搭建首页模块，掌握主流APP首页的疑难点问题的解决方案，解锁Flutter图片加载与缓存原理、列加载优化等高阶技能。",
          cover: "https://life911.cn/wp-content/uploads/2023/06/%E7%81%AB%E7%81%B5%E5%84%BF108342666_p5_master1200.jpg",
          view: 999666,
          favorite: 45454,
          duration: 213213,
          createTime: "2024-11-11",
          owner: Owner(
              "https://life911.cn/wp-content/uploads/2023/06/%E5%85%AC%E5%AD%99%E7%A6%BB108551385_p2_master1200.jpg",
              "sziitjin",
              8)),
      VideoModel(
          vid: "123",
          title: "本章将手把手带你搭建首页模块，掌握主流APP首页的疑难点问题的解决方案，解锁Flutter图片加载与缓存原理、列加载优化等高阶技能。",
          cover: "https://life911.cn/wp-content/uploads/2023/06/074732o7drk2dc8etofdcc.jpg",
          view: 999666,
          favorite: 45454,
          duration: 213213,
          createTime: "2024-11-11",
          owner: Owner(
              "https://life911.cn/wp-content/uploads/2023/06/%E5%85%AC%E5%AD%99%E7%A6%BB108551385_p2_master1200.jpg",
              "sziitjin",
              8)),
      VideoModel(
          vid: "123",
          title: "本章将手把手带你搭建首页模块，掌握主流APP首页的疑难点问题的解决方案，解锁Flutter图片加载与缓存原理、列加载优化等高阶技能。",
          cover: "https://life911.cn/wp-content/uploads/2023/06/%E7%81%AB%E7%81%B5%E5%84%BF108342666_p5_master1200.jpg",
          view: 999666,
          favorite: 45454,
          duration: 213213,
          createTime: "2024-11-11",
          owner: Owner(
              "https://life911.cn/wp-content/uploads/2023/06/%E5%85%AC%E5%AD%99%E7%A6%BB108551385_p2_master1200.jpg",
              "sziitjin",
              8)),
    ];

List<VideoModel> getVideos2() => [
      VideoModel(
          vid: "123",
          title: "本章将手把手带你搭建首页模块，掌握主流APP首页的疑难点问题的解决方案，解锁Flutter图片加载与缓存原理、列加载优化等高阶技能。",
          cover: "https://life911.cn/wp-content/uploads/2023/06/108572928_p5_master1200-1.jpg",
          view: 999666,
          favorite: 45454,
          duration: 213213,
          createTime: "2024-11-11",
          owner: Owner(
              "https://life911.cn/wp-content/uploads/2023/06/%E5%85%AC%E5%AD%99%E7%A6%BB108551385_p2_master1200.jpg",
              "sziitjin",
              8)),
      VideoModel(
          vid: "123",
          title: "本章将手把手带你搭建首页模块，掌握主流APP首页的疑难点问题的解决方案，解锁Flutter图片加载与缓存原理、列加载优化等高阶技能。",
          cover: "https://life911.cn/wp-content/uploads/2023/06/105545qsxoxma3xa77b7pz.jpg",
          view: 999666,
          favorite: 45454,
          duration: 213213,
          createTime: "2024-11-11",
          owner: Owner(
              "https://life911.cn/wp-content/uploads/2023/06/%E5%85%AC%E5%AD%99%E7%A6%BB108551385_p2_master1200.jpg",
              "sziitjin",
              8)),
      VideoModel(
          vid: "123",
          title: "本章将手把手带你搭建首页模块，掌握主流APP首页的疑难点问题的解决方案，解锁Flutter图片加载与缓存原理、列加载优化等高阶技能。",
          cover: "https://life911.cn/wp-content/uploads/2023/06/105545qsxoxma3xa77b7pz.jpg",
          view: 999666,
          favorite: 45454,
          duration: 213213,
          createTime: "2024-11-11",
          owner: Owner(
              "https://life911.cn/wp-content/uploads/2023/06/%E5%85%AC%E5%AD%99%E7%A6%BB108551385_p2_master1200.jpg",
              "sziitjin",
              8)),
      VideoModel(
          vid: "123",
          title: "本章将手把手带你搭建首页模块，掌握主流APP首页的疑难点问题的解决方案，解锁Flutter图片加载与缓存原理、列加载优化等高阶技能。",
          cover: "https://life911.cn/wp-content/uploads/2023/06/%E7%81%AB%E7%81%B5%E5%84%BF108342666_p5_master1200.jpg",
          view: 999666,
          favorite: 45454,
          duration: 213213,
          createTime: "2024-11-11",
          owner: Owner(
              "https://life911.cn/wp-content/uploads/2023/06/%E5%85%AC%E5%AD%99%E7%A6%BB108551385_p2_master1200.jpg",
              "sziitjin",
              8)),
      VideoModel(
          vid: "123",
          title: "本章将手把手带你搭建首页模块，掌握主流APP首页的疑难点问题的解决方案，解锁Flutter图片加载与缓存原理、列加载优化等高阶技能。",
          cover: "https://life911.cn/wp-content/uploads/2023/06/074732o7drk2dc8etofdcc.jpg",
          view: 999666,
          favorite: 45454,
          duration: 213213,
          createTime: "2024-11-11",
          owner: Owner(
              "https://life911.cn/wp-content/uploads/2023/06/%E5%85%AC%E5%AD%99%E7%A6%BB108551385_p2_master1200.jpg",
              "sziitjin",
              8)),
      VideoModel(
          vid: "123",
          title: "本章将手把手带你搭建首页模块，掌握主流APP首页的疑难点问题的解决方案，解锁Flutter图片加载与缓存原理、列加载优化等高阶技能。",
          cover: "https://life911.cn/wp-content/uploads/2023/06/%E7%81%AB%E7%81%B5%E5%84%BF108342666_p5_master1200.jpg",
          view: 999666,
          favorite: 45454,
          duration: 213213,
          createTime: "2024-11-11",
          owner: Owner(
              "https://life911.cn/wp-content/uploads/2023/06/%E5%85%AC%E5%AD%99%E7%A6%BB108551385_p2_master1200.jpg",
              "sziitjin",
              8)),
    ];

List<VideoModel> getVideos3() => [
      VideoModel(
          vid: "123",
          title: "本章将手把手带你搭建首页模块，掌握主流APP首页的疑难点问题的解决方案，解锁Flutter图片加载与缓存原理、列加载优化等高阶技能。",
          cover: "https://life911.cn/wp-content/uploads/2023/06/074732o7drk2dc8etofdcc.jpg",
          view: 999666,
          favorite: 45454,
          duration: 213213,
          createTime: "2024-11-11",
          owner: Owner(
              "https://life911.cn/wp-content/uploads/2023/06/%E5%85%AC%E5%AD%99%E7%A6%BB108551385_p2_master1200.jpg",
              "sziitjin",
              8)),
      VideoModel(
          vid: "123",
          title: "本章将手把手带你搭建首页模块，掌握主流APP首页的疑难点问题的解决方案，解锁Flutter图片加载与缓存原理、列加载优化等高阶技能。",
          cover: "https://life911.cn/wp-content/uploads/2023/06/%E7%81%AB%E7%81%B5%E5%84%BF108342666_p5_master1200.jpg",
          view: 999666,
          favorite: 45454,
          duration: 213213,
          createTime: "2024-11-11",
          owner: Owner(
              "https://life911.cn/wp-content/uploads/2023/06/%E5%85%AC%E5%AD%99%E7%A6%BB108551385_p2_master1200.jpg",
              "sziitjin",
              8)),
    ];

VideoModel getVideo() => VideoModel(
    vid: "123",
    title: "本章将手把手带你搭建首页模块，掌握主流APP首页的疑难点问题的解决方案，解锁Flutter图片加载与缓存原理、列加载优化等高阶技能。",
    cover: "https://life911.cn/wp-content/uploads/2023/06/108057137_p2_master1200.jpg",
    view: 999666,
    favorite: 45454,
    duration: 213213,
    createTime: "2024-11-11",
    owner: Owner("https://life911.cn/wp-content/uploads/2023/06/%E5%85%AC%E5%AD%99%E7%A6%BB108551385_p2_master1200.jpg",
        "jin", 8));

RankingMo? getRanking(String sort) {
  var rankingMap = {
    "like": RankingMo(1, getVideos()),
    "pubdate": RankingMo(2, getVideos2()),
    "favorite": RankingMo(3, getVideos3())
  };
  return rankingMap[sort];
}

ProfileMo getProfile() => ProfileMo(
    name: "sziitjin",
    face: 'https://www.devio.org/img/beauty_camera/beauty_camera4.jpg',
    fans: 123,
    favorite: 456,
    like: 789,
    coin: 234,
    browsing: 567,
    bannerList: getBanners(),
    courseList: getCourses(),
    benefitList: getBenefits());

List<Course> getCourses() => [
      Course("大话西游", 'https://www.devio.org/img/beauty_camera/beauty_camera4.jpg',
          'https://www.devio.org/img/beauty_camera/beauty_camera4.jpg', 2),
      Course("王者荣耀", 'https://www.devio.org/img/beauty_camera/beauty_camera4.jpg',
          'https://www.devio.org/img/beauty_camera/beauty_camera4.jpg', 2),
      Course(
          "和平精英",
          'https://life911.cn/wp-content/uploads/2023/06/%E5%85%AC%E5%AD%99%E7%A6%BB108551385_p2_master1200.jpg',
          'https://life911.cn/wp-content/uploads/2023/06/%E5%85%AC%E5%AD%99%E7%A6%BB108551385_p2_master1200.jpg',
          3),
      Course(
          "穿越火线",
          'https://life911.cn/wp-content/uploads/2023/06/%E5%85%AC%E5%AD%99%E7%A6%BB108551385_p2_master1200.jpg',
          'https://life911.cn/wp-content/uploads/2023/06/%E5%85%AC%E5%AD%99%E7%A6%BB108551385_p2_master1200.jpg',
          3),
    ];

List<Benefit> getBenefits() => [
      Benefit("入门", 'https://www.devio.org/img/beauty_camera/beauty_camera4.jpg'),
      Benefit("熟悉", 'https://www.devio.org/img/beauty_camera/beauty_camera4.jpg'),
      Benefit("精通", 'https://www.devio.org/img/beauty_camera/beauty_camera4.jpg'),
    ];

List<BarrageModel> getBarrages() => [
      BarrageModel(content: "你好啊", vid: '1234', priority: 1, type: 1),
      BarrageModel(content: "吊毛，你过来啊", vid: '2234', priority: 2, type: 0),
      BarrageModel(content: "靓仔", vid: '3234', priority: 1, type: 1),
      BarrageModel(content: "明月松间照，清泉石上流。", vid: '4234', priority: 1, type: 1),
      BarrageModel(content: "明月松间照，清泉石上流2。", vid: '42342', priority: 1, type: 0),
      BarrageModel(content: "明月松间照，清泉石上流3。", vid: '42343', priority: 1, type: 1),
      BarrageModel(content: "明月松间照，清泉石上流4。", vid: '42344', priority: 1, type: 0),
    ];
